Optimal. Leaf size=113 \[ -\frac {A b-2 a B}{b^3 \sqrt {a^2+2 a b x+b^2 x^2}}+\frac {a (A b-a B)}{2 b^3 (a+b x) \sqrt {a^2+2 a b x+b^2 x^2}}+\frac {B (a+b x) \log (a+b x)}{b^3 \sqrt {a^2+2 a b x+b^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 113, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.074, Rules used = {770, 77} \[ -\frac {A b-2 a B}{b^3 \sqrt {a^2+2 a b x+b^2 x^2}}+\frac {a (A b-a B)}{2 b^3 (a+b x) \sqrt {a^2+2 a b x+b^2 x^2}}+\frac {B (a+b x) \log (a+b x)}{b^3 \sqrt {a^2+2 a b x+b^2 x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 77
Rule 770
Rubi steps
\begin {align*} \int \frac {x (A+B x)}{\left (a^2+2 a b x+b^2 x^2\right )^{3/2}} \, dx &=\frac {\left (b^2 \left (a b+b^2 x\right )\right ) \int \frac {x (A+B x)}{\left (a b+b^2 x\right )^3} \, dx}{\sqrt {a^2+2 a b x+b^2 x^2}}\\ &=\frac {\left (b^2 \left (a b+b^2 x\right )\right ) \int \left (\frac {a (-A b+a B)}{b^5 (a+b x)^3}+\frac {A b-2 a B}{b^5 (a+b x)^2}+\frac {B}{b^5 (a+b x)}\right ) \, dx}{\sqrt {a^2+2 a b x+b^2 x^2}}\\ &=-\frac {A b-2 a B}{b^3 \sqrt {a^2+2 a b x+b^2 x^2}}+\frac {a (A b-a B)}{2 b^3 (a+b x) \sqrt {a^2+2 a b x+b^2 x^2}}+\frac {B (a+b x) \log (a+b x)}{b^3 \sqrt {a^2+2 a b x+b^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 65, normalized size = 0.58 \[ \frac {3 a^2 B-a b (A-4 B x)+2 B (a+b x)^2 \log (a+b x)-2 A b^2 x}{2 b^3 (a+b x) \sqrt {(a+b x)^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.89, size = 81, normalized size = 0.72 \[ \frac {3 \, B a^{2} - A a b + 2 \, {\left (2 \, B a b - A b^{2}\right )} x + 2 \, {\left (B b^{2} x^{2} + 2 \, B a b x + B a^{2}\right )} \log \left (b x + a\right )}{2 \, {\left (b^{5} x^{2} + 2 \, a b^{4} x + a^{2} b^{3}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \mathit {sage}_{0} x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 83, normalized size = 0.73 \[ -\frac {\left (-2 B \,b^{2} x^{2} \ln \left (b x +a \right )-4 B a b x \ln \left (b x +a \right )+2 A \,b^{2} x -2 B \,a^{2} \ln \left (b x +a \right )-4 B a b x +A a b -3 B \,a^{2}\right ) \left (b x +a \right )}{2 \left (\left (b x +a \right )^{2}\right )^{\frac {3}{2}} b^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.50, size = 89, normalized size = 0.79 \[ \frac {B \log \left (x + \frac {a}{b}\right )}{b^{3}} - \frac {A}{\sqrt {b^{2} x^{2} + 2 \, a b x + a^{2}} b^{2}} + \frac {2 \, B a x}{b^{4} {\left (x + \frac {a}{b}\right )}^{2}} + \frac {3 \, B a^{2}}{2 \, b^{5} {\left (x + \frac {a}{b}\right )}^{2}} + \frac {A a}{2 \, b^{4} {\left (x + \frac {a}{b}\right )}^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {x\,\left (A+B\,x\right )}{{\left (a^2+2\,a\,b\,x+b^2\,x^2\right )}^{3/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x \left (A + B x\right )}{\left (\left (a + b x\right )^{2}\right )^{\frac {3}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________